package com.scl.springtalis.service;

import com.scl.springtalis.polo.Emp;
import com.scl.springtalis.polo.PageBean;
import org.springframework.stereotype.Service;

import java.time.LocalDate;
import java.util.List;


public interface EmpService {
    PageBean page(Integer page, Integer pageSize, String name, Short gender, LocalDate begin, LocalDate end);
    void  delect( List<Integer> ids);


    void save(Emp emp);

    Emp getById(Integer id);

    Emp update(Emp emp);

    Emp login(Emp emp);
}
